package com.frxuexi.shop.intent

import com.frxuexi.base.db.ShopLoveEntity
import com.frxuexi.base.mvi.IUiIntent

sealed class ShopIntent :IUiIntent{
    data class getShops(val type:Int): ShopIntent()

    data object getHomeData:ShopIntent()

    data class getShopDetail(val id:Int):ShopIntent()

    data class insertShop(val shopLoveEntity: ShopLoveEntity):ShopIntent()
    data class deleteShop(val shopLoveEntity: ShopLoveEntity):ShopIntent()

    data class selectShopById(val id:Long):ShopIntent()
    data object selectShops:ShopIntent()

    data class getComments(val id:Int,val page:Int,val type: Int):ShopIntent()

    data class addCart(val map:Map<String,Any>):ShopIntent()
}